package com.sunnay.exception;



public class DataException extends SunayException{


    public DataException() {}

    public DataException(Error e){
        super(e.getKey(),e.getValue());
    }

    public DataException(String field,String code,String message){
        super(field,code,message);
    }

    public DataException(String message) {
        super(message);
    }

    public DataException(String code, String message) {
        super(code, message);
    }

    public DataException(String message, Throwable cause) {
        super(message, cause);
    }

    public DataException(Throwable cause) {
        super(cause);
    }
}
